//
//  MoreManagerTableViewCell.m
//  JiuKuGospel
//
//  Created by jiukuyinyue on 15-11-9.
//  Copyright (c) 2015年 JiuKuForApp. All rights reserved.
//

#import "MoreManagerTableViewCell.h"

@implementation MoreManagerTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setDataArr:(NSMutableArray *)dataArr
{
    [self setupUI:dataArr];
}

- (void)setCreateStr:(NSString *)createStr
{
    [self setupUI:nil];
}

- (void)setupUI:(NSMutableArray *)dataArr;
{
    self.backgroundColor = [UIColor clearColor];
    [self.allView removeFromSuperview];
    self.allView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.width, self.height)];
    [self addSubview:self.allView];

    self.selectImageView = [[UIImageView alloc] initWithFrame:CGRectMake(20, (_allView.height-24)/2, 24, 24)];
    _selectImageView.image = [UIImage imageNamed:@"select_no@3x.png"];
    [_allView addSubview:_selectImageView];
 
    self.songNameLabel = [[UILabel alloc] initWithFrame:CGRectMake(self.selectImageView.right +10, 5, _allView.width-_selectImageView.right-10, 20)];
//    _songNameLabel.text = @"求主给我一颗心";
    _songNameLabel.font = FONT_16;
    [_allView addSubview:_songNameLabel];
    
    self.zjNameLabel = [[UILabel alloc] initWithFrame:CGRectMake(_songNameLabel.left, _songNameLabel.bottom, _songNameLabel.width, 20)];
//    _zjNameLabel.text = @"迦南诗选";
    _zjNameLabel.font = FONT_12;
    _zjNameLabel.textColor = [UIColor grayColor];
    [_allView addSubview:_zjNameLabel];
    
    
    
}

@end
